package com.haixiaoke.saas.repository.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 推荐房源对象 biz_recommend_item
 *
 * @author zhiping
 * @date 2023-04-18
 */
@Data
public class RecommendItem extends HousingAllocation {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long itemId;

    /**
     * 房源组id
     */
    private Long groupId;

    /**
     * 房源id
     */
    private String houseId;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 展示开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date beginTime;

    /**
     * 展示结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;


}